package com.liuxin.zhiyuan.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/*
*   1.整合 MyBatis-Plus
*   2.配置 数据源
* */

@MapperScan("com.liuxin.zhiyuan.user.mapper")
@SpringBootApplication
@EnableDiscoveryClient
@ConfigurationPropertiesScan("com.liuxin.zhiyuan.user.config")
public class ZhiyuanUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZhiyuanUserApplication.class, args);
    }

}
